/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.worksheet.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 工单管理Entity
 * @author johnKee
 * @version 2016-07-17
 */
public class ZlmtWorksheetFiles extends DataEntity<ZlmtWorksheetFiles> {
	
	private static final long serialVersionUID = 1L;
	private String worksheetId;		// 工单id
	private String fileName;		// 文件名
	private String fileUrl;		// file_url
	
	public ZlmtWorksheetFiles() {
		super();
	}

	public ZlmtWorksheetFiles(String id){
		super(id);
	}

	@Length(min=0, max=64, message="工单id长度必须介于 0 和 64 之间")
	public String getWorksheetId() {
		return worksheetId;
	}

	public void setWorksheetId(String worksheetId) {
		this.worksheetId = worksheetId;
	}
	
	@Length(min=0, max=256, message="文件名长度必须介于 0 和 256 之间")
	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	
	@Length(min=0, max=256, message="file_url长度必须介于 0 和 256 之间")
	public String getFileUrl() {
		return fileUrl;
	}

	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}
	
}